<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of EventSeries
 *
 * @author johnnypark
 */
class Model_Series extends Model_Base
{

    private $name = 'event_series';

    public function create()
    {
	$date = new Zend_Date();
	$eventSeries = array();
	$eventSeries['date_create'] = $date->toString('YYYY-MM-dd HH:mm:ss');
	$this->db->insert($this->name, $eventSeries);
	return $this->db->lastInsertId($this->name);
    }

}

?>
